package com.example.model.supplier.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class SupplierProductDTO {
    private int supplierId; // 供应商ID
    private int productId; // 产品ID
    private String supplierName; // 供应商名称
    private String supplierAddress; // 供应商地址
    private String supplierPhone; // 供应商电话
    private String productName; // 产品名称
    private BigDecimal price; // 产品价格
    private LocalDate supplyDate; // 供应日期
    private int quantity; // 供应数量
    private LocalDateTime lastOperationTime;
    private String lastOperator;
}
